package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(50)"`
}

type Good struct {
	gorm.Model
	Name     string `gorm:"type:varchar(50)"`
	Price    string `gorm:"type:varchar(50)"`
	Content  string `gorm:"type:text"`
	BuyCount int    `gorm:"type:int"`
}
